/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.resource.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 场地状态Entity
 * @author 淋漓
 * @version 2024-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("uip_venu_apply")
public class VenuApply extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 场地id
	 */
	private String venueId;

	/**
     * 用户id
     */
	private String userId;

	/**
     * 用户名
     */
	private String userName;

	/**
     * 预约时间段
     */
	private Integer time;

	/**
     * 预约日期
     */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date date;

	/**
     * 状态
     */
	private String status;

	/**
     * 申请理由
     */
	private String content;

	/**
     * 反馈说明
     */
	private String opinion;

}
